<%@ Page Language="vb" AutoEventWireup="false" Codebehind="Statistics.aspx.vb" Inherits="georgia_globaltp.Statistics" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>Statistics</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<LINK href="calendar.css" type="text/css" rel="STYLESHEET">
		<script language="JavaScript" src="/Admin/AuditSystem/simplecalendar.js" type="text/javascript"></script>
		<style> .grad_2 { FILTER: progid:DXImageTransform.Microsoft.gradient(startColorstr=#C4CFE1, endColorstr=#ffffff, gradienttype=1); WIDTH: 100%; BACKGROUND-COLOR: #c4cfe1 }
		</style>
		<LINK href="/Admin/includes/adj_styles.css" type="text/css" rel="stylesheet">
		<script>
	function CheckDate(){
	
	if(document.frm.ex1.value!='' && document.frm.ex2.value !=''){
		var xdate1 = new Date(document.frm.ex1.value);
		var xdate2 = new Date(document.frm.ex2.value);
		if(xdate1 > xdate2){
			alert('\"FROM\" date must be before the \"TO\" date ');
			return false;
		}else{
			return true
		}
	}else{	
		
		alert('Please enter valid dates.');
		return false;
	}
	}
		</script>
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form name="frm" onsubmit="return CheckDate()" action="siteindex.aspx" method="post">
			<div class="title" align="center">GA Global Trade Portal Statistics</div>
			<br>
			<table cellSpacing="0" cellPadding="3" width="50%" align="center" border="0">
				<tr>
					<td class="grad_2 tblHead" align="center" colSpan="2">Select a date range to report</td>
				</tr>
				<tr>
					<td class="msg2" align="center">FROM:&nbsp;<input size="11" name="ex1">&nbsp;<A onmouseover="if (timeoutId) clearTimeout(timeoutId);window.status='Show Calendar';return true;"
							onclick="g_Calendar.show(event,'frm.ex1',true, 'mm/dd/yyyy', new Date(2005,9,09)); return false;" onmouseout="if (timeoutDelay) calendarTimeout();window.status='';"
							href="javascript: void(0);"><IMG height="21" alt="" src="../images/calendar.gif" width="34" border="0" name="imgCalendar"></A></td>
					<td class="msg2" align="center">TO:&nbsp;<input size="11" name="ex2">&nbsp;<A onmouseover="if (timeoutId) clearTimeout(timeoutId);window.status='Show Calendar';return true;"
							onclick="g_Calendar.show(event,'frm.ex2',true, 'mm/dd/yyyy', new Date(2005,9,10)); return false;" onmouseout="if (timeoutDelay) calendarTimeout();window.status='';"
							href="javascript: void(0);"><IMG height="21" alt="" src="../images/calendar.gif" width="34" border="0" name="imgCalendar"></A></td>
				</tr>
			</table>
			<br>
			<div align="center"><input type="submit" value="Submit"></div>
		</form>
	</body>
</HTML>
